//
//  ReportVM.h
//  Common
//
//  Created by guoshiqing on 2018/6/15.
//  Copyright © 2018年 www.bitkinetic.com. All rights reserved.
//

#import "BaseViewModel.h"

typedef NS_ENUM(NSUInteger, ReportType){
    ReportTypeDaily  = 0, // 日报类型
    ReportTypeWeek,       // 周报类型
    ReportTypeMonth,      // 月报类型
};

typedef NS_ENUM(NSUInteger, StatusType){
    StatusTypeUnread = 0, // 未读
    StatusTypeReaded,     // 已读
};

@interface ReportVM : BaseViewModel

// 【报告】新增日报
- (void)createDailyReportWithType:(NSString *)type andSummary:(NSString *)summary andPlan:(NSString *)plan;

// 【报告】新增周报
- (void)createWeeklyReportWithSummary:(NSString *)summary andPlan:(NSString *)plan;

// 【报告】新增月报
- (void)createMonthlyReportWithSummary:(NSString *)summary andPlan:(NSString *)plan;

// 【报告】删除报告
- (void)deleteReportWithType:(ReportType)type andReportId:(NSInteger)reportId;

// 【报告】获取报告列表
- (void)reportListWithReportType:(ReportType)type andReportId:(NSUInteger)reportId andOrderTime:(NSInteger)orderTime andRole:(BOOL)isManager;

// 【报告】设置为已读
- (void)reportSetReadedWithReportId:(NSUInteger)reportId;

// 【报告】修改报告
- (void)reportModifyWithReportId:(NSUInteger)reportId andSummary:(NSString *)summary andPlan:(NSString *)plan;

@end
